﻿@model ETL.Web.Models.RegisterModel
@{
    ViewBag.Title = "Register";
}
<div class="register">
    <hgroup class="title">    
    <h2>Create a new account.</h2>
</hgroup>
    @using (Html.BeginForm())
    {
        @Html.AntiForgeryToken()
        @Html.ValidationSummary(false,null, new { @class = "text-error" })

        <fieldset>
            <legend>Registration Form</legend>
            <div class="row-fluid">
                <div class="span5">
                    @Html.LabelFor(m => m.UserName)
                </div>
                <div class="span7">
                    @Html.TextBoxFor(m => m.UserName)
                </div>
            </div>
            <div class="row-fluid">
                <div class="span5">
                    @Html.LabelFor(m => m.Password)
                </div>
                <div class="span7">
                    @Html.PasswordFor(m => m.Password)
                </div>
            </div>
            <div class="row-fluid">
                <div class="span5">
                    @Html.LabelFor(m => m.ConfirmPassword)
                </div>
                <div class="span7">
                    @Html.PasswordFor(m => m.ConfirmPassword)
                </div>
            </div>
            <input type="submit" class="btn" value="Register" />
        </fieldset>
    }
    @*@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}*@
</div>
